package com.jstyle.jclifexd.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

/**
 * Created by Administrator on 2018/6/11.
 */
@Entity
public class EnableData {
    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    @Transient
    String displayName;//显示
    @Id
    String name;
    Boolean isOn;
    Long userId;//备用，根据用户id来设置
    @Generated(hash = 875267052)
    public EnableData(String name, Boolean isOn, Long userId) {
        this.name = name;
        this.isOn = isOn;
        this.userId = userId;
    }
    @Generated(hash = 967269365)
    public EnableData() {
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Boolean getIsOn() {
        return this.isOn;
    }
    public void setIsOn(Boolean isOn) {
        this.isOn = isOn;
    }
    public Long getUserId() {
        return this.userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
